Conversation
- Added GPU support (CUDA) to the YOLOv12 detector if available. - Implemented `blur_faces` method in `YOLOv12FaceDetector` for privacy-conscious detections. - Implemented `get_face_crops` method to extract and gallery detected faces. - Updated `/api/detect-image` to support an optional `blur` parameter and return base64 face crops. - Added a Dark Mode toggle to the web UI with persistent theme settings. - Added a "Privacy Mode (Blur Faces)" toggle and a "Face Gallery" section to the UI. - Cleaned up the repository of temporary test and mock files. Co-authored-by: RevDra <200167038+RevDra@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
The project was upgraded with several new features and performance enhancements:
YOLOv12FaceDetectornow automatically detects and utilizes CUDA for faster inference when available.localStoragefor improved user experience./api/detect-imageendpoint was updated to support the new blurring parameter and provide extracted crops in the response.Extensive testing was performed using mock environments to verify the backend logic, API responses, and frontend UI changes (including Playwright-based visual verification).
PR created automatically by Jules for task 12065996488473101507 started by @RevDra